<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
	<head>
		<title>Wap 电商平台</title>
		<meta charset="UTF-8">
		<script th:replace="common/head::static"></script>
	</head>
</html>
<body>

	<div id="app" style="background:#F6F6F6;height:100%;padding:0px;">
	    <div style="padding:10px 15px;background:#fff;">
	    	<nut-searchbar placeText="右侧默认图标" @submit="submitFun"></nut-searchbar>
	    </div>
	</div>
	
	<script type="text/javascript">
		new Vue({
			el: '#app',
            data() {
				return {
			      	
				}
			},
			created: function(){
				
			},
			methods: {
				submitFun: function(val){
					location.href = "/search?key=" + val;
				}
			}
		});
	</script>
</body>